package com.ktjy.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ktjy.crm.entity.User;
import lombok.extern.java.Log;
import org.springframework.cache.annotation.Cacheable;

import java.util.HashMap;

public interface IUserService {
    User login(String account, String password);
    public int addUser(User sysUser);
    public int deleteUser(int id);
    public int updateUser(User sysUser);
    public User getUser(int id);
    //分页查询
    public IPage<User> getUserByPage(HashMap<String, Object>hashMap);
}
